package it.uniroma2.structure;

public abstract class Actions extends Node{
	protected String name;
	protected PartnerLink partnerLink;
	protected String portType;
	protected String operation;
	protected Variable variable;
	
	public abstract String toBPEL();
	public abstract String toString();

		
	public PartnerLink getPartnerLink() {
		return partnerLink;
	}
	
	public void setPartnerLink(PartnerLink partnerLink) {
		this.partnerLink = partnerLink;
		this.portType = this.partnerLink.getPartenerLinkType();
	}
	
	public String getPortType() {
		return portType;
	}
	
	public void setPortType(String portType) {
		this.portType = portType;
	}
	
	public String getOperation() {
		return operation;
	}
	
	public void setOperation(String operation) {
		this.operation = operation;
	}
	
	public Variable getVariable() {
		return variable;
	}
	
	public void setVariable(Variable variable) {
		this.variable = variable;
	}
}
